This is a small PB 11.1 sample on how to retrieve and display pictures saved via UpdateBlob in datawindow, by using InkPicture Control:

This sample uses ASE as database, but you can adapt it to other DBMS:

1) Run the following script against ASE to create the sample table and its index:

create table dbo.pic_test (id int not null, img image null) ;
alter table dbo.pic_test add constraint id_pic primary key nonclustered (id) ;

2) Unzip sample.zip into a temp directory
3) Open pictures.pbw in PB 11.1
4) In open() event for w_test, set your SQLCA ASE parameters
5) Run the application
6) Press "Insert Picture" - this will insert three pictures into table, into the img column, via UpdateBlob
7) If you'd like to see one of the pictures via SetPicture(), press the button "Read Picture"
8) Press the button "Display DataWindow" - this will open another window with a datawindow inside, displaying the three pictures via InkPicture control